package yuan.configclient9090.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @version: 1.0
 * @Description: TODO
 * @author: zZmH
 * @date: 2020/09/18 22:57
 */


public class MyController {
    @Value("${spring.cloud}")
    private String config;


    @GetMapping("/test")
    public String ge() {
        return config;
    }
}
